﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WAU.Models.Framework;

namespace WAU.Models.UserDailyActivityModels
{
    /// <summary>
    /// 用户日常签到
    /// </summary>
    public class UserDailySign : BaseModel
    {
        /// <summary>
        /// 签到的用户 id
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 签到的月份
        /// </summary>
        public string Month { get; set; }

        /// <summary>
        /// 用 bit 表示的签到“图”，1 表示签到，0 表示未签到
        /// </summary>
        public byte[] SignPattern { get; set; }

        /// <summary>
        /// 连续签到的开始日期
        /// </summary>
        public DateOnly? ContinuousSignStart { get; set; }

        /// <summary>
        /// 连续签到的结束日期
        /// </summary>
        public DateOnly? ContinuousSignEnd { get; set; }
    }
}
